package cn.wolfcode.dao.Impl;

import cn.wolfcode.dao.IEmployeeDao;
import cn.wolfcode.domain.Employee;
/*
spring 能解决的问题
1.类
2.事务控制的问题 当不同的业务方法需要事务介入
 */
public class EmployeeSericelmpl implements IEmployeeDao {
    private IEmployeeDao employeeDao;

    public EmployeeSericelmpl(IEmployeeDao employeeDao) {
        this.employeeDao = employeeDao;
    }

    @Override
    public void save(Employee employee) {
        /*
        具体实现方法
         */

        try{

        }catch (Exception e){

        }finally {

        }
    }
}
